*(GPL, copyleft, https://www.gnu.org/licenses/gpl-3.0.de.html)
This code generates item parameters of subsample 2.
Copyright (C) <2021>  <Zehtner, R. I. & Hermann, A.>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

*This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

*You should have received a copy of the GNU General Public License
along with this program.  If not, see 
https://www.gnu.org/licenses/ <https://www.gnu.org/licenses/>

* Encoding: UTF-8.

*===================Study1==================*
**This code refers to the following data set: data_study1_subsample2.xlsx
*==========================================*

*FEQ-GR
*Positive Family Expressiveness.

COMPUTE FEQ_Pmean= (SUM (FEQ_01, FEQ_02, FEQ_03, FEQ_06, 
    FEQ_16, FEQ_17, FEQ_18, FEQ_21, FEQ_22, 
    FEQ_23, FEQ_26, FEQ_30, FEQ_31, 
    FEQ_33, FEQ_35, FEQ_38, FEQ_39, FEQ_40))/18.
EXECUTE.
VARIABLE LABELS FEQ_Pmean 'FEQ-GR pos. mean'.


*Negative-submissive Family Expressiveness.

COMPUTE FEQ_NSmean=MEAN(FEQ_10, FEQ_32, FEQ_15, FEQ_08, FEQ_25, FEQ_20, FEQ_14, FEQ_34).
EXECUTE.
VARIABLE LABELS FEQ_NSmean 'FEQ-GR neg.-subm. mean'.

*Negative-dominant Family Expressiveness.

COMPUTE FEQ_NDmean=MEAN(FEQ_04, FEQ_09, FEQ_12, FEQ_36, FEQ_11, FEQ_05, 
FEQ_27, FEQ_07, FEQ_24, FEQ_37).
EXECUTE.
VARIABLE LABELS FEQ_NDmean 'FEQ-GR neg.-dominant mean'.


DESCRIPTIVES VARIABLES=FEQ_NDmean, FEQ_NSmean, FEQ_Pmean
  /STATISTICS=MEAN STDDEV MIN MAX.

DESCRIPTIVES VARIABLES=FEQ_01 FEQ_02 FEQ_03 FEQ_04 FEQ_05 FEQ_06 FEQ_07 FEQ_08 FEQ_09 FEQ_10 FEQ_11 FEQ_12 
    FEQ_14 FEQ_15 FEQ_16 FEQ_17 FEQ_18 FEQ_20 FEQ_21 FEQ_22 FEQ_23 FEQ_24 FEQ_25 FEQ_26 
    FEQ_27  FEQ_30 FEQ_31 FEQ_32 FEQ_33 FEQ_34 FEQ_35 FEQ_36 FEQ_37 FEQ_38 FEQ_39 FEQ_40
  /STATISTICS=MEAN STDDEV MIN MAX.


CORRELATIONS
  /VARIABLES=FEQ_Pmean FEQ_NSmean FEQ_NDmean
  /PRINT=TWOTAIL NOSIG
  /MISSING=PAIRWISE.

*Positive E.*.
RELIABILITY
  /VARIABLES=FEQ_01, FEQ_02, FEQ_03, FEQ_06, 
    FEQ_16, FEQ_17, FEQ_18, FEQ_21, FEQ_22, 
    FEQ_23, FEQ_26, FEQ_30, FEQ_31, 
    FEQ_33, FEQ_35, FEQ_38, FEQ_39, FEQ_40
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=SCALE
  /SUMMARY=TOTAL.

*ND*.
RELIABILITY
  /VARIABLES=FEQ_04, FEQ_09, FEQ_12, FEQ_36, FEQ_11, FEQ_05, 
FEQ_27, FEQ_07, FEQ_24, FEQ_37
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=SCALE
  /SUMMARY=TOTAL.

*NS*.
RELIABILITY
  /VARIABLES=FEQ_10, FEQ_32, FEQ_15, FEQ_08, FEQ_25, FEQ_20, FEQ_14, FEQ_34
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=SCALE
  /SUMMARY=TOTAL.


